package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class BookmarkCategoryBase{
	boolean[] modified=new boolean[2];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public BookmarkCategoryBase(){}
	public BookmarkCategoryBase(java.lang.Long bookmardId,java.lang.Long categoryId){
		setBookmardId(bookmardId);
		setCategoryId(categoryId);
	}
	public void setBookmardId(java.lang.Long bookmardId){
		if(bookmardId!=null) {
			set("bookmardId",bookmardId);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getBookmardId(){
		return (java.lang.Long)get("bookmardId");
	}
	public void setCategoryId(java.lang.Long categoryId){
		if(categoryId!=null) {
			set("categoryId",categoryId);
			this.modified[1] =true;
		}
	}
	public java.lang.Long getCategoryId(){
		return (java.lang.Long)get("categoryId");
	}
}
